/*******************************************************************************
 * Package: com.hngtrust.iir.risk.controller.vo
 * Type:    ListCompRiskReqVO
 * Date:    2021/3/31 21:15
 *
 * Copyright (c) 2021 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.hngtrust.iir.risk.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * 风险预警详情请求
 *
 * @author Keqiwei
 * @date 2021/3/31 21:15
 */
@ApiModel(description = "风险预警详情请求")
@Data
public class ListRiskReqVO {
    /**
     * 方案id
     */
    @ApiModelProperty(value = "方案id")
    private List<Long> schemeIds;
    
    /**
     * 风险类型
     */
    @ApiModelProperty(value = "风险类型")
    private List<Integer> riskClass;
    
    /**
     * 风险级别
     */
    @ApiModelProperty(value = "风险级别")
    private List<Integer> riskLevels;
    
    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    
    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    
    @ApiModelProperty(value = "公司名")
    private String compName;
    
}
